package com.greenline.search.test.dao;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: liulei
 * Date: 13-9-24
 * Time: 下午5:21
 * To change this template use File | Settings | File Templates.
 */
public class DiseaseAliasDao extends MybatisSession{

    private Logger logger = LoggerFactory.getLogger(DiseaseAliasDao.class);
    private String NAME_SPACE = "com.greenline.search.test.dao.DiseaseMapper.";

    public List<BaseObject> getAllDiseaseAlias(){
        return this.getSqlSession().selectList(NAME_SPACE+"selectAllDiseaseAlias");
    }

    public List<UserObject> getAllDiseaseAndAlias(){
        return this.getSqlSession().selectList(NAME_SPACE+"selectAllDiseaseAndAlias");
    }
}
